home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / bc_pas_1.zip / FIXWAVE < prev    next >
Text File  |  1992-12-08  |  2KB  |  98 lines

  1.  
  2. ##
  3. ## Build file for creating FIXWAVE.EXE
  4. ##
  5. ## To build a LARGE model,    "nmake S=L M=4 [BCC=1]"
  6. ## To build a COMPACT model,    "nmake S=C M=3 [BCC=1]"
  7. ## To build a MEDIUM model,    "nmake S=M M=2 [BCC=1]"
  8. ## To build a SMALL model,    "nmake S=S M=1 [BCC=1]"
  9. ## To build a TINY model,    "nmake S=T M=0 [BCC=1]"
  10. ##
  11. ## Add BCC=1 to the line if building using Borland C++
  12. ##
  13.  
  14. ## The default is to build a small model.
  15.  
  16. !ifndef S
  17. !ifdef BCC
  18. S= s
  19. !else
  20. S= S
  21. !endif
  22. !endif
  23. !ifndef M
  24. M= 1
  25. !endif
  26.  
  27. ## The following are search paths
  28.  
  29. INC  = ..\INC
  30. GINC = ..\..\INC
  31.  
  32. LBO  =
  33. LBB  = ..\inc
  34.  
  35. #############################################################################
  36.  
  37. ## The following are command line options compiler, assembler selection
  38.  
  39. !ifdef BCC
  40.  
  41. ## tools selection
  42.  
  43. IP=%include%
  44. MA= tasm /i. /i$(INC) /i$(GINC) /JQUIRKS /JMASM51 /JNOSMART /m2
  45. CL= bcc  /I. /I$(INC) /I$(GINC)
  46. LK= tlink
  47. LB= tlib
  48. CMOD= -m$(S)!
  49.  
  50. ## switches
  51.  
  52. AS= -mx
  53. AO= -DMODELSIZE=$(M) -DBUILD_NONE=1 -v
  54. CS= -c -Ox
  55. CO= $(CMOD)
  56. LS=
  57. LO= /m /c
  58. ONAM= -o
  59.  
  60. BLB = e:\borlandc\lib
  61.  
  62. !else
  63.  
  64. ## tools selection
  65.  
  66. MA= masm
  67. CL= cl
  68. LK= link
  69. LB= lib
  70. CMOD=-A$(S)
  71.  
  72. ## switches
  73.  
  74. AS= /Mx
  75. AO= /DMODELSIZE=$(M) /DBUILD_NONE=1
  76. CS= /c /Ox /Zp1
  77. CO= $(CMOD)
  78. LO= /Ma
  79. LS=
  80. ONAM= -Fo
  81.  
  82. !endif
  83.  
  84. #############################################################################
  85.  
  86. DEFAULT: fixwave.exe
  87.  
  88. fixwave.obj: fixwave.c
  89.     $(CL) $(CO) $(CS) fixwave.c
  90.  
  91. fixwave.exe: fixwave.obj
  92. !ifdef BCC
  93.  $(LK) /L$(CLNK) $(LS) $(LO) $(BLB)\C0$(S) fixwave,fixwave,,$(LBB)\bvh$(S)lib+$(LBB)\bv$(S)lib+$(BLB)\c$(S).lib;
  94. !else
  95.  $(LK) $(LS) $(LO) fixwave,,,$(LBB)\mvh$(S)lib+$(LBB)\mv$(S)lib;
  96. !endif
  97.  
  98.